bring someone to his wit's end

使某人智窮計盡(或陷于窘境,不知所措)